Based on the traditional complier testing , this paper proposes a method that introduces a reference compiler into compiler testing . by collecting dynamic data information ( ddi ) files in software simulator , bugs in tested compiler can be located in function level 本文最后對編譯系統的驗證進行了研究,提出引入參考編譯器和參考仿真器的測試方法,并通過在仿真器中插裝代碼生成動態數據信息( ddi )文件,能夠將錯誤定位到函數級,給編譯器的調試帶來很大的便利。